package com.info33.platform.system.dto;

import com.info33.platform.system.entity.SysPost;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 系统 - 岗位
 *
 * @author admin
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysPostDTO extends SysPost {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "岗位 id 集合，英文逗号分割")
    @NotBlank(groups = {RoleList.class}, message = "岗位 id 集合不能为空")
    private String postIds;

    public interface RoleList {

    }

}